<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="b" uri="/bbs-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<!--[if lt IE 7]> 
	<script type="text/javascript" src="js/ie6png.js"></script>
	<![endif]-->

		<link rel="stylesheet" type="text/css" href="css/header.css">
		<link rel="stylesheet" type="text/css" href="css/footer.css">
		<script type="text/javascript" src="js/parseIcon.js">
</script>
		<script type="text/javascript" src="js/jquery.js">
</script>
		<style type="text/css">
#container {
	width: 960px;
	margin: auto;
}

/**头部*/
#headerBottom {
	float: left;
	width: 958px;
	height: 36px;
	margin: 6px 0 0 0;
	display: inline; /**IE margin加倍Bug*/
	border: solid 1px #CCC;
}

#headerBottomLeft {
	float: left;
	width: 299px;
	height: 36px;
	background: url("images/search.gif") 0 -36px;
}

#headerBottomRight {
	float: right;
	width: 657px;
	height: 36px;
	background: url("images/search.gif") 0 0px;
	height: 36px;
	background: url("images/search.gif") 0 0px;
}

/**中部*/
#content {
	width: 958px;
	border: solid 1px #CCC;
	float: left;
	margin: 15px 0 0 0;
	display: inline;
}

#contentLeft {
	float: left;
	width: 125px;
	height: 450px;
	background: #E8F0F7;
}

#contentLeft ul li {
	float: left;
	width: 124px;
	padding: 8px 0 0 0;
	height: 22px !important;
	height: 30px;
	font-size: 15px;
	height: 30px;
	color: #666;
	border-bottom: dashed 1px #D8D8D8;
}

#contentRight {
	width: 820px;
	float: left;
}

#contentRight1 {
	width: 800px;
	float: left;
	height: 40px;
	margin: 0px 0 0 10px;
	display: inline;
	border-bottom: solid 1px #E3E6EB;
	display: inline;
}

#contentRight1 span {
	float: left;
	color: #666;
	font-size: 13px;
	font-weight: 600;
	margin: 10px 0 0 10px;
	display: inline;
}

#contentRight2 {
	float: left;
	width: 800px;
	height: 20px;
	margin: 10px 0 0 10px;
	display: inline;
}

.contentRight2-1 {
	float: left;
	height: auto !important;
	height: 350px;
	min-height: 350px;
	width: 800px;
}

.contentRight2-1-1 {
	float: left;
	width: 800px;
	height: 25px;
	background: #F2F2F2;
}

.contentRight2-1-1-1 {
	float: left;
	margin: 3px 0 0 20px;
	display: inline;
	font-size: 14px;
	font-weight: 600;
	color: #336699;
}

.contentRight2-1-1-2 {
	float: left;
	margin: 5px 0 0 10px;
	display: inline;
	color: #444;
}

.contentRight2-1-2 {
	float: left;
	text-align: left;
	margin: 5px 0 0 10px;
	display: inline;
	color: #555;
}

/**标记操作*/
.operation1 {
	width: 800px;
	float: left;
	margin: 3px 0 3px 0px;
	display: inline;
}

.operation1 ul li {
	float: left;
	margin: 0px 0 0 3px;
	display: inline;
}
</style>
		<script type="text/javascript">

</script>
	</head>

	<body onload="">
		<div id="container">
			<%@ include file="styleJsp/header.jsp"%>
			<div id="headerBottom">
				<div id="headerBottomLeft"></div>
				<div id="headerBottomRight"></div>
			</div>
			<!-- 中部 -->
			<div id="content">
				<div id="contentLeft">
					<ul>
						<a href="publishMailEdit.jsp">
							<li>
								写消息
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=all">
							<li>
								收件箱
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=draft">
							<li>
								草稿箱
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=sent">
							<li>
								已发送
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=delete">
							<li>
								已删除
							</li> </a>
						<a href="lookMailAction_lookAllMails?mailType=rubbish">
							<li>
								垃圾箱
							</li> </a>
					</ul>
				</div>

				<div id="contentRight">
					<div id="contentRight1">
						<span>邮件详情</span>
					</div>
					<div id="contentRight2">
						<div class="operation1">
							<ul>
								<li>
									<input type="submit" value="删除" onclick="modifyMail(4)" />
								</li>
								<li>
									<input type="submit" value="彻底删除" onclick="deleteMail()" />
								</li>
								<li>
									<input type="submit" value="标记已读" onclick="modifyMail(1)" />
								</li>
								<li>
									<input type="submit" value="标记未读" onclick="modifyMail(0)" />
								</li>
								<li>
									<input type="submit" value="标记垃圾" onclick="modifyMail(5)" />
								</li>
							</ul>
						</div>
						<div class="contentRight2-1">
							<div class="contentRight2-1-1">
								<span class="contentRight2-1-1-1"><s:property
										value="mail.user.userName" />
								</span>
								<span class="contentRight2-1-1-2"><s:property
										value="mail.mailDate" />
								</span>
							</div>
							<div class="contentRight2-1-2">
								<s:property value="mail.mailContent" />
							</div>
						</div>
						<div class="operation1">
							<ul>
								<li>
									<input type="submit" value="删除" onclick="modifyMail(4)" />
								</li>
								<li>
									<input type="submit" value="彻底删除" onclick="deleteMail()" />
								</li>
								<li>
									<input type="submit" value="标记已读" onclick="modifyMail(1)" />
								</li>
								<li>
									<input type="submit" value="标记未读" onclick="modifyMail(0)" />
								</li>
								<li>
									<input type="submit" value="标记垃圾" onclick="modifyMail(5)" />
								</li>
							</ul>
						</div>
					</div>

				</div>
				</form>
			</div>
			<%@ include file="styleJsp/footer.jsp"%>
		</div>
	</body>
</html>
